package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DDeviceOldEntity;
import com.hongxun.modules.bss.entity.RemoveEntity;

import java.util.List;
import java.util.Map;

/**
 * 点位设备拆除技改大修
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-04 10:42:47
 */
public interface DDeviceOldService {

	DDeviceOldEntity queryObject(String guid);
	
	List<DDeviceOldEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DDeviceOldEntity dDeviceOld);
	
	void update(DDeviceOldEntity dDeviceOld);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<DDeviceOldEntity> entities);

	List<RemoveEntity> removeList(Map<String, Object> map);

	int queryTotalForRemove(Map<String, Object> map);

}
